package com.ruoyi.screen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备播放素材对象 adv_device_file
 * 
 * @author ruoyi
 * @date 2025-06-05
 */
public class DeviceFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long deviceFileId;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 素材ID */
    @Excel(name = "素材ID")
    private Long materialId;

    /** 播放时长(秒) */
    @Excel(name = "播放时长(秒)")
    private Long playDuration;

    /** 播放次序 */
    @Excel(name = "播放次序")
    private Double playOrder;

    public void setDeviceFileId(Long deviceFileId) 
    {
        this.deviceFileId = deviceFileId;
    }

    public Long getDeviceFileId() 
    {
        return deviceFileId;
    }

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }

    public void setPlayDuration(Long playDuration) 
    {
        this.playDuration = playDuration;
    }

    public Long getPlayDuration() 
    {
        return playDuration;
    }

    public void setPlayOrder(Double playOrder)
    {
        this.playOrder = playOrder;
    }

    public Double getPlayOrder()
    {
        return playOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceFileId", getDeviceFileId())
            .append("deviceId", getDeviceId())
            .append("materialId", getMaterialId())
            .append("playDuration", getPlayDuration())
            .append("playOrder", getPlayOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
